.class public Lcom/waiqin365/lightapp/view/hr;
.super Ljava/lang/Object;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Landroid/view/View;

.field private c:Landroid/widget/PopupWindow;

.field private d:Landroid/view/View;

.field private e:Landroid/view/View;

.field private f:Landroid/view/View;

.field private g:Landroid/view/View;

.field private h:Landroid/widget/TextView;

.field private i:Landroid/widget/TextView;

.field private j:Landroid/widget/TextView;

.field private k:Landroid/widget/TextView;

.field private l:Landroid/widget/TextView;

.field private m:Landroid/widget/TextView;

.field private n:Landroid/widget/TextView;


# direct methods
.method public constructor <init>(Landroid/content/Context;Landroid/view/View;)V
    .locals 5

    const/4 v4, 0x1

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    iput-object p1, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    iput-object p2, p0, Lcom/waiqin365/lightapp/view/hr;->b:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    const v1, 0x7f0302e4

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/view/View;->inflate(Landroid/content/Context;ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f08

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->d:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f0a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->e:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->e:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0097

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->f:Landroid/view/View;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->f:Landroid/view/View;

    new-instance v1, Lcom/waiqin365/lightapp/view/hs;

    invoke-direct {v1, p0}, Lcom/waiqin365/lightapp/view/hs;-><init>(Lcom/waiqin365/lightapp/view/hr;)V

    invoke-virtual {v0, v1}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c007a

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->h:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f07

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->i:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f09

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->j:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f06

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->k:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f0b

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->l:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f05

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->m:Landroid/widget/TextView;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const v1, 0x7f0c0f0c

    invoke-virtual {v0, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->n:Landroid/widget/TextView;

    new-instance v0, Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->g:Landroid/view/View;

    const/4 v2, -0x1

    const/4 v3, -0x2

    invoke-direct {v0, v1, v2, v3}, Landroid/widget/PopupWindow;-><init>(Landroid/view/View;II)V

    iput-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    invoke-virtual {v0, v4}, Landroid/widget/PopupWindow;->setOutsideTouchable(Z)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    new-instance v1, Landroid/graphics/drawable/BitmapDrawable;

    invoke-direct {v1}, Landroid/graphics/drawable/BitmapDrawable;-><init>()V

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setBackgroundDrawable(Landroid/graphics/drawable/Drawable;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    const/16 v1, 0x10

    invoke-virtual {v0, v1}, Landroid/widget/PopupWindow;->setSoftInputMode(I)V

    return-void
.end method

.method static synthetic a(Lcom/waiqin365/lightapp/view/hr;)Landroid/widget/PopupWindow;
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    return-object v0
.end method


# virtual methods
.method public a(Landroid/widget/PopupWindow$OnDismissListener;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    invoke-virtual {v0, p1}, Landroid/widget/PopupWindow;->setOnDismissListener(Landroid/widget/PopupWindow$OnDismissListener;)V

    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;I)V
    .locals 6

    const/4 v4, 0x0

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v5, v4

    invoke-virtual/range {v0 .. v5}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;III)V

    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;III)V
    .locals 8

    const/4 v6, -0x1

    move-object v0, p0

    move-object v1, p1

    move-object v2, p2

    move v3, p3

    move v4, p4

    move v5, p5

    move v7, v6

    invoke-virtual/range {v0 .. v7}, Lcom/waiqin365/lightapp/view/hr;->a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V

    return-void
.end method

.method public a(Lcom/waiqin365/lightapp/view/ht;Lcom/waiqin365/lightapp/view/hu;IIIII)V
    .locals 5

    const/4 v2, -0x1

    :try_start_0
    sget-object v0, Lcom/waiqin365/lightapp/view/ht;->a:Lcom/waiqin365/lightapp/view/ht;

    if-ne p1, v0, :cond_2

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->k:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, 0x0

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    if-eq p6, v2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->m:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v2, p6

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    :cond_0
    :goto_0
    sget-object v0, Lcom/waiqin365/lightapp/view/hu;->b:Lcom/waiqin365/lightapp/view/hu;

    if-ne p2, v0, :cond_3

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->d:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->i:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->e:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->j:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->j:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v2, p3

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->b:Landroid/view/View;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->b:Landroid/view/View;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v3, p4

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    add-int/lit8 v2, v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    rsub-int/lit8 v4, p5, 0x54

    int-to-float v4, v4

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    iget-object v4, p0, Lcom/waiqin365/lightapp/view/hr;->b:Landroid/view/View;

    invoke-virtual {v4}, Landroid/view/View;->getHeight()I

    move-result v4

    add-int/2addr v3, v4

    neg-int v3, v3

    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;II)V

    :cond_1
    :goto_1
    return-void

    :cond_2
    sget-object v0, Lcom/waiqin365/lightapp/view/ht;->b:Lcom/waiqin365/lightapp/view/ht;

    if-ne p1, v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->l:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    const/4 v1, 0x0

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->weight:F

    if-eq p7, v2, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->n:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    check-cast v0, Landroid/widget/LinearLayout$LayoutParams;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v2, p7

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/widget/LinearLayout$LayoutParams;->width:I

    goto/16 :goto_0

    :catch_0
    move-exception v0

    goto :goto_1

    :cond_3
    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->d:Landroid/view/View;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->i:Landroid/widget/TextView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->e:Landroid/view/View;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->j:Landroid/widget/TextView;

    const/16 v1, 0x8

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->i:Landroid/widget/TextView;

    invoke-virtual {v0}, Landroid/widget/TextView;->getLayoutParams()Landroid/view/ViewGroup$LayoutParams;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v2, p3

    invoke-static {v1, v2}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v1

    iput v1, v0, Landroid/view/ViewGroup$LayoutParams;->width:I

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->b:Landroid/view/View;

    if-eqz v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    invoke-virtual {v0}, Landroid/widget/PopupWindow;->isShowing()Z

    move-result v0

    if-nez v0, :cond_1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->c:Landroid/widget/PopupWindow;

    iget-object v1, p0, Lcom/waiqin365/lightapp/view/hr;->b:Landroid/view/View;

    iget-object v2, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v3, p4

    invoke-static {v2, v3}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v2

    add-int/lit8 v2, v2, 0x0

    iget-object v3, p0, Lcom/waiqin365/lightapp/view/hr;->a:Landroid/content/Context;

    int-to-float v4, p5

    invoke-static {v3, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Landroid/content/Context;F)I

    move-result v3

    add-int/lit8 v3, v3, 0x0

    invoke-virtual {v0, v1, v2, v3}, Landroid/widget/PopupWindow;->showAsDropDown(Landroid/view/View;II)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    goto :goto_1
.end method

.method public a(Ljava/lang/String;)V
    .locals 1

    iget-object v0, p0, Lcom/waiqin365/lightapp/view/hr;->h:Landroid/widget/TextView;

    invoke-virtual {v0, p1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    return-void
.end method
